home *** CD-ROM | disk | FTP | other *** search
Wrap
VERSION 2.00 Begin Form frmAbout BorderStyle = 3 'Fixed Double Caption = "About..." ClientHeight = 1815 ClientLeft = 4095 ClientTop = 4995 ClientWidth = 4215 Height = 2220 Left = 4035 LinkTopic = "Form2" MaxButton = 0 'False MinButton = 0 'False ScaleHeight = 1815 ScaleWidth = 4215 Top = 4650 Width = 4335 Begin CommandButton cmdOK Cancel = -1 'True Caption = "OK" Default = -1 'True Height = 495 Left = 1440 TabIndex = 1 Top = 1200 Width = 1335 End Begin Label Label1 Caption = "This demo shows how to use a subclassing control to intercept the WM_SYSCOMMAND message to detect when the user selects a command that we have added to the system menu." FontBold = 0 'False FontItalic = 0 'False FontName = "MS Sans Serif" FontSize = 8.25 FontStrikethru = 0 'False FontUnderline = 0 'False Height = 975 Left = 120 TabIndex = 0 Top = 120 Width = 3975 End Option Explicit Sub cmdOK_Click () Unload Me End Sub Sub Form_Load () ' Center form Move (Screen.Width - Width) / 2, (Screen.Height - Height) / 2 End Sub